package com.mysteel.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mysteel.common.utils.PageUtils;
import com.mysteel.ware.entity.PurchaseEntity;
import com.mysteel.ware.vo.MergeVo;
import com.mysteel.ware.vo.PurchaseDoneVo;

import java.util.List;
import java.util.Map;

/**
 * 采购信息
 *
 * @author xc
 * @email xcremote@163.com
 * @date 2020-12-11 09:34:25
 */
public interface PurchaseService extends IService<PurchaseEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 查询未领取的采购单
     */
    PageUtils queryPageUnreceiveList(Map<String, Object> params);

    void mergePurchase(MergeVo mergeVo);

    void receivedList(List<Long> ids);

    void done(PurchaseDoneVo purchaseDoneVo);

    PageUtils queryPageOnCondition(Map<String, Object> params);
}

